package com.blb.java10security.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.blb.java10security.entity.Permission;
import com.blb.java10security.entity.Role;
import com.blb.java10security.entity.User;

import java.util.List;

public interface UserService extends IService<User> {

    List<Role> getRolesByUsername(String username);

    List<Permission> getPermissionByUsername(String username);
}
